Silicon Labs /SiM3_NRND /SIM3L167_C /LPTIMER_0 /CONTROL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CONTROL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (FREE)CMD0 (LPTNT0)EXTSEL0 (TMRSET)TMRSET 0 (TMRCAP)TMRCAP 0 (DISABLED)HSMDEN 0 (DISABLED)CMP0EN 0 (DISABLED)CMP1EN 0 (DISABLED)OUTEN 0 (DISABLED)OVFIEN 0 (DISABLED)CMP0IEN 0 (DISABLED)OVFOEN 0 (DISABLED)CMP0OEN 0 (DISABLED)CMP1IEN 0 (DISABLED)CMP1OEN 0 (DISABLED)OUTINVEN 0 (DISABLED)CMP0RSTEN 0 (DISABLED)CMP1RSTEN 0 (DISABLED)MCLKEN 0 (RUN)DBGMD 0 (STOP)RUN

DBGMD=RUN, CMP1IEN=DISABLED, CMP1OEN=DISABLED, OVFOEN=DISABLED, OVFIEN=DISABLED, CMP0EN=DISABLED, CMP0OEN=DISABLED, CMP0IEN=DISABLED, CMD=FREE, RUN=STOP, CMP1RSTEN=DISABLED, HSMDEN=DISABLED, EXTSEL=LPTNT0, MCLKEN=DISABLED, OUTINVEN=DISABLED, CMP0RSTEN=DISABLED, OUTEN=DISABLED, CMP1EN=DISABLED

Description

Module Control

Fields

CMD

Count Mode.

0 (FREE): The timer is free running mode on the RTC timer clock (RTC0TCLK).

1 (RISING_EDGE): The timer is incremented on the rising edges of the selected external trigger (LPTnTx).

2 (FALLING_EDGE): The timer is incremented on the falling edges of the selected external trigger (LPTnTx).

3 (ANY_EDGE): The timer is incremented on both edges of the selected external trigger (LPTnTx).

EXTSEL

External Trigger Source Select.

0 (LPTNT0): Select external trigger LPTnT0.

1 (LPTNT1): Select external trigger LPTnT1.

2 (LPTNT2): Select external trigger LPTnT2.

3 (LPTNT3): Select external trigger LPTnT3.

4 (LPTNT4): Select external trigger LPTnT4.

5 (LPTNT5): Select external trigger LPTnT5.

6 (LPTNT6): Select external trigger LPTnT6.

7 (LPTNT7): Select external trigger LPTnT7.

8 (LPTNT8): Select external trigger LPTnT8.

9 (LPTNT9): Select external trigger LPTnT9.

10 (LPTNT10): Select external trigger LPTnT10.

11 (LPTNT11): Select external trigger LPTnT11.

12 (LPTNT12): Select external trigger LPTnT12.

13 (LPTNT13): Select external trigger LPTnT13.

14 (LPTNT14): Select external trigger LPTnT14.

15 (LPTNT15): Select external trigger LPTnT15.

TMRSET

Timer Set.

1 (SET): Writing a 1 to TMRSET initiates a copy of the value from the COUNT register into the internal timer register. This field is automatically cleared by hardware when the copy is complete and does not need to be cleared by software.

TMRCAP

Timer Capture.

1 (SET): Writing a 1 to TMRCAP initiates a read of internal timer register into the COUNT register. This field is automatically cleared by hardware when the operation completes and does not need to be cleared by software.

HSMDEN

High Speed Timer Access Mode Enable.

0 (DISABLED): Disable high speed timer access mode.

1 (ENABLED): Enable high speed timer access mode.

CMP0EN

Timer Compare 0 Threshold Enable.

0 (DISABLED): undefined

1 (ENABLED): undefined

CMP1EN

Timer Compare 1 Threshold Enable.

0 (DISABLED): undefined

1 (ENABLED): undefined

OUTEN

Output Enable.

0 (DISABLED): Disable the LPTIMER0 output.

1 (ENABLED): Enable the LPTIMER0 output.

OVFIEN

Timer Overflow Interrupt Enable.

0 (DISABLED): Disable the timer overflow interrupt.

1 (ENABLED): Enable the timer overflow interrupt.

CMP0IEN

Timer Compare 0 Event Interrupt Enable.

0 (DISABLED): Disable the timer compare 0 event interrupt.

1 (ENABLED): Enable the timer compare 0 event interrupt.

OVFOEN

Timer Overflow Output Enable.

0 (DISABLED): Timer overflows do not modify the Low Power Timer output.

1 (ENABLED): Timer overflows set the Low Power Timer output to 1.

CMP0OEN

Timer Compare 0 Event Output Enable.

0 (DISABLED): Timer compare 0 events do not modify the Low Power Timer output.

1 (ENABLED): Timer compare 0 events clear the Low Power Timer output to 0.

CMP1IEN

Timer Compare 1 Event Interrupt Enable.

0 (DISABLED): Disable the timer compare 1 event interrupt.

1 (ENABLED): Enable the timer compare 1 event interrupt.

CMP1OEN

Timer Compare 1 Event Output Enable.

0 (DISABLED): Timer compare 1 events do not modify the Low Power Timer output.

1 (ENABLED): Timer compare 1 events set the Low Power Timer output to 1.

OUTINVEN

Output Inversion Enable.

0 (DISABLED): Do not invert the LPTIMER0 output.

1 (ENABLED): Invert the LPTIMER0 output.

CMP0RSTEN

Timer Compare 0 Event Reset Enable.

0 (DISABLED): Timer compare 0 events do not reset the timer.

1 (ENABLED): Timer compare 0 events reset the timer.

CMP1RSTEN

Timer Compare 1 Event Reset Enable.

0 (DISABLED): Timer compare 1 events do not reset the timer.

1 (ENABLED): Timer compare 1 events reset the timer.

MCLKEN

Low Power Timer Module Clock Enable.

0 (DISABLED): Disable the clock to the Low Power Timer module.

1 (ENABLED): Enable the clock to the Low Power Timer module.

DBGMD

Low Power Timer Debug Mode.

0 (RUN): The Low Power Timer module will continue to operate while the core is halted in debug mode.

1 (HALT): A debug breakpoint will cause the Low Power Timer module to halt.

RUN

Timer Run Control and Compare Threshold Enable.

0 (STOP): Stop the timer and disable the compare threshold.

1 (START): Start the timer running and enable the compare threshold.

Links

()